﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MyTaskbarTip
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();

            ShowBalloonTip();
        }

        private void ShowBalloonTip()
        {
            //初始化提示用户定制
            notifyIcon1.BalloonTipTitle = "小提示！大作用！";
            notifyIcon1.BalloonTipText = "定制您的提示信息";

            //读取用户信息，返回2个值

            //选择当前用户定制的内容
            //第一维表示当前学得第几组内容，第二组表示当前学的该组内容的第几条
            ChooseContentOfUser();

            notifyIcon1.ShowBalloonTip(30000);
        }
        private void ChooseContentOfUser()
        {
        }

        private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            About a = new About();
            a.Show();
        }

        private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
